package com.honey.generator.java;

import com.honey.compilation.java.AbstractJavaCompilation;
import com.honey.compilation.java.Interface;
import com.honey.core.compiler.CompilationException;

/**
 * 编译java类
 * @author Administrator
 *
 */
class CompilationInterface extends AbstractCompilation {
	
	public CompilationInterface(Interface inter) {
		super(inter);
	}
	
	@Override
	AbstractJavaCompilation cloneAbstractJavaCompilation( AbstractJavaCompilation abstractJavaCompilation) throws CompilationException{
		Interface answer = new Interface(abstractJavaCompilation.getType(),abstractJavaCompilation.getClassDecoration());
		super.cloneFiled(abstractJavaCompilation, answer);
		return  answer;
	}
}
